﻿using QuickApp.DbInterface;
using QuickApp.SqlSilver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuickApp.DbInterface.Factories
{
    public static class DbConnectionFactory
    {
        public static QADbConnection GetDbConnection(QADbType type,string name)
        {
            switch(type)
            {
                case QADbType.SqlServer: return new SqlServerConnection(name);
                default: return null;
            }
        }
    }
}
